package com.hundsun.yr.universal.p2p.bean;

import java.io.Serializable;

public class PickerBean implements Serializable{

	private static final long serialVersionUID = 1L;
	/**
	 * 显示值
	 */
	private String lable;
	/**
	 * 实际值
	 */
	private Object value;

	public String getLable() {
		return lable;
	}

	public void setLable(String lable) {
		this.lable = lable;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	/**
	 * 反射调用函数
	 * 
	 * @return
	 */
	public String getPickerViewText() {
		// 这里还可以判断文字超长截断再提供显示
		return lable;
	}
}
